object frmBackSet: TfrmBackSet
  Left = 487
  Top = 196
  BorderIcons = [biSystemMenu]
  Caption = #25968#25454#24211#32500#25252#35774#32622
  ClientHeight = 488
  ClientWidth = 542
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  DesignSize = (
    542
    488)
  PixelsPerInch = 96
  TextHeight = 13
  object chkSQLSERVERAGENT: TcxCheckBox
    Left = 12
    Top = 15
    Caption = #24320#26426#21551#21160#25968#25454#24211#20195#29702
    TabOrder = 0
    OnClick = chkSQLSERVERAGENTClick
  end
  object btnSetServerState: TcxButton
    Left = 247
    Top = 12
    Width = 100
    Height = 25
    Anchors = [akTop, akRight]
    Caption = #21551#21160#25968#25454#24211#20195#29702
    TabOrder = 1
    OnClick = btnSetServerStateClick
  end
  object cxGrid1: TcxGrid
    Left = 16
    Top = 44
    Width = 509
    Height = 181
    Anchors = [akLeft, akTop, akRight]
    TabOrder = 2
    object cxGrid1DBTableView1: TcxGridDBTableView
      PopupMenu = pmPlan
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = dsPlan
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      object cxGrid1DBTableView1plan_name: TcxGridDBColumn
        DataBinding.FieldName = 'plan_name'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 352
      end
      object cxGrid1DBTableView1date_created: TcxGridDBColumn
        DataBinding.FieldName = 'date_created'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 111
      end
    end
    object cxGrid1Level1: TcxGridLevel
      GridView = cxGrid1DBTableView1
    end
  end
  object cxGrid2: TcxGrid
    Left = 16
    Top = 233
    Width = 509
    Height = 195
    Anchors = [akLeft, akTop, akRight, akBottom]
    TabOrder = 3
    object cxGrid2DBTableView1: TcxGridDBTableView
      PopupMenu = pmPlanDB
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = dsPlanDB
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      object cxGrid2DBTableView1name: TcxGridDBColumn
        DataBinding.FieldName = 'name'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
      end
      object cxGrid2DBTableView1companyname: TcxGridDBColumn
        DataBinding.FieldName = 'companyname'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
      end
    end
    object cxGrid2Level1: TcxGridLevel
      GridView = cxGrid2DBTableView1
    end
  end
  object pnlBottom: TPanel
    Left = 0
    Top = 433
    Width = 542
    Height = 55
    Align = alBottom
    BevelOuter = bvNone
    TabOrder = 4
    object btnCancel: TcxButton
      Left = 414
      Top = 6
      Width = 75
      Height = 25
      Cancel = True
      Caption = #21462#28040'(&C)'
      ModalResult = 2
      TabOrder = 0
    end
    object btnPlanNew: TcxButton
      Left = 14
      Top = 6
      Width = 100
      Height = 25
      Caption = #26032#24314#25968#25454#24211#32500#25252
      TabOrder = 1
      OnClick = pmPlanNewClick
    end
    object btnPlanEdit: TcxButton
      Left = 125
      Top = 6
      Width = 100
      Height = 25
      Caption = #20462#25913#25968#25454#24211#32500#25252
      TabOrder = 2
      OnClick = pmPlanEditClick
    end
    object btnPlanDBSet: TcxButton
      Left = 234
      Top = 6
      Width = 100
      Height = 25
      Caption = #35774#32622#32500#25252#25968#25454#24211
      TabOrder = 3
      OnClick = pmPlanDBSetClick
    end
  end
  object qryPlan: TUniQuery
    SQL.Strings = (
      
        'select * from msdb.dbo.sysdbmaintplans where plan_name like '#39'ybc' +
        '%'#39)
    AfterScroll = qryPlanAfterScroll
    Left = 35
    Top = 95
    object qryPlanplan_id: TGuidField
      FieldName = 'plan_id'
      FixedChar = True
      Size = 38
    end
    object qryPlanplan_name: TWideStringField
      DisplayLabel = #35745#21010#21517#31216
      FieldName = 'plan_name'
      OnGetText = qryPlanplan_nameGetText
      Size = 128
    end
    object qryPlandate_created: TDateTimeField
      DisplayLabel = #21019#24314#26085#26399
      FieldName = 'date_created'
    end
    object qryPlanowner: TWideStringField
      FieldName = 'owner'
      Size = 128
    end
    object qryPlanmax_history_rows: TIntegerField
      FieldName = 'max_history_rows'
    end
    object qryPlanremote_history_server: TWideStringField
      FieldName = 'remote_history_server'
      Size = 128
    end
    object qryPlanmax_remote_history_rows: TIntegerField
      FieldName = 'max_remote_history_rows'
    end
    object qryPlanuser_defined_1: TIntegerField
      FieldName = 'user_defined_1'
    end
    object qryPlanuser_defined_2: TWideStringField
      FieldName = 'user_defined_2'
      Size = 100
    end
    object qryPlanuser_defined_3: TDateTimeField
      FieldName = 'user_defined_3'
    end
    object qryPlanuser_defined_4: TGuidField
      FieldName = 'user_defined_4'
      FixedChar = True
      Size = 38
    end
  end
  object qryPlanDB: TUniQuery
    SQL.Strings = (
      
        'select pd.*,bd.name,bd.companyname from msdb.dbo.sysdbmaintplan_' +
        'databases pd, master..ybbookdb bd'
      
        '  WHERE plan_id=:PlanID and   pd.database_name=bd.dbname and bd.' +
        'deleted=0'
      '')
    Left = 35
    Top = 295
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'PlanID'
        Value = nil
      end>
    object qryPlanDBplan_id: TGuidField
      FieldName = 'plan_id'
      FixedChar = True
      Size = 38
    end
    object qryPlanDBdatabase_name: TWideStringField
      FieldName = 'database_name'
      Size = 128
    end
    object qryPlanDBname: TStringField
      DisplayLabel = #24080#22871#21517#31216
      FieldName = 'name'
      Size = 50
    end
    object qryPlanDBcompanyname: TStringField
      DisplayLabel = #20844#21496#21517#31216
      FieldName = 'companyname'
      Size = 50
    end
  end
  object pmPlan: TPopupMenu
    Left = 104
    Top = 179
    object pmPlanNew: TMenuItem
      Caption = #26032#22686#25968#25454#24211#32500#25252#35745#21010
      OnClick = pmPlanNewClick
    end
    object pmPlanEdit: TMenuItem
      Caption = #20462#25913#25968#25454#24211#32500#25252#35745#21010
      OnClick = pmPlanEditClick
    end
    object N1: TMenuItem
      Caption = '-'
    end
    object pmPlanDelete: TMenuItem
      Caption = #21024#38500#25968#25454#24211#32500#25252#35745#21010
      OnClick = pmPlanDeleteClick
    end
  end
  object pmPlanDB: TPopupMenu
    Left = 112
    Top = 380
    object pmPlanDBSet: TMenuItem
      Caption = #35774#32622#32500#25252#25968#25454#24211
      OnClick = pmPlanDBSetClick
    end
    object N2: TMenuItem
      Caption = '-'
    end
    object pmPlanDBDelete: TMenuItem
      Caption = #21024#38500#32500#25252#25968#25454#24211
      OnClick = pmPlanDBDeleteClick
    end
  end
  object dsPlan: TDataSource
    DataSet = qryPlan
    Left = 84
    Top = 95
  end
  object dsPlanDB: TDataSource
    DataSet = qryPlanDB
    Left = 96
    Top = 295
  end
end
